{% extends "base.html" %}

{% block sidebar %}

<h1>Categories</h1>
{% load blog_categories %}{% get_category_list %}
<ul>
{% for category in blog_categories %}
	<li><a href="{{ category.get_absolute_url }}">{{ category.title }}</a></li>
{% endfor %}
</ul>

<h1>Tags</h1>
{% load tagging_tags %}
{% tags_for_model blog.Entry as blog_tags %}
<ul>
{% for blog_tag in blog_tags %}
	<li><a href="/blog/tag/{{ blog_tag.name }}/">{{ blog_tag.name|capfirst }}</a></li>
{% endfor %}
</ul>

{% endblock %}
